package com.yonyou.gmmc.service.questionnaire.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yonyou.gmmc.service.questionnaire.annotation.OracleDb;
import com.yonyou.gmmc.service.questionnaire.model.TtQuestionnaire;
import com.yonyou.gmmc.service.questionnaire.model.TtQuestionnaireExample;

import tk.mybatis.mapper.common.Mapper;

@OracleDb
public interface TtQuestionnaireMapper extends Mapper<TtQuestionnaire> {
	List<Integer> queryPotential(@Param("citys") String citys,@Param("qenId") Integer qenId);
	List<Integer> queryUser(@Param("citys") String citys,@Param("qenId") Integer qenId);
	List<Integer> queryCarUser(@Param("modelCode") String modelCode,@Param("citys") String citys,@Param("dealerCode") String dealerCode,
			@Param("lastCode") String lastCode,@Param("chepai") String chepai,@Param("begin") String begin,@Param("end") String end,
			@Param("rzbegin") String rzbegin,@Param("rzend") String rzend,@Param("qenId") Integer qenId);

	List<String> queryQueModel(@Param("qenId") Integer qenId,@Param("qenType") Integer qenType);
	List<String> queryQueScope(@Param("qenId") Integer qenId,@Param("qenType") String qenType);
}